particle end_rod ~ ~1.2 ~ 0 0 0 0.03 1
execute unless block ^ ^ ^1 #vs:can_teleport run return fail
tp @s ^ ^ ^0.99
scoreboard players remove #teleportDeviceLoop temp 1
execute if score #teleportDeviceLoop temp matches 1.. at @s run function vs:item/teleport_device/teleport